import 'babel-polyfill'
import Vue from 'vue'
import App from './App'
import ElementUI from 'element-ui'
import locale from 'element-ui/lib/locale/lang/en'
import 'element-ui/lib/theme-chalk/index.css'
import router from './router'
import axios from './http/axios'
import qs from 'qs'
import moment from 'moment'
import VueVideoPlayer from 'vue-video-player'
import 'video.js/dist/video-js.css'

Vue.use(ElementUI, {locale})
Vue.use(VueVideoPlayer)

Vue.prototype.axios = axios
Vue.prototype.qs = qs
Vue.prototype.moment = moment

// 关闭moment控制台警告
moment.suppressDeprecationWarnings = true

Vue.config.productionTip = false

new Vue({
    el: '#app',
    router,
    components: { App },
    template: '<App/>'
})